package com.agileboot.attendance.common.enums;

import com.agileboot.common.enums.BasicEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 考勤规则类型枚举
 *
 * @author ruoyi
 */
@Getter
@AllArgsConstructor
public enum RuleTypeEnum implements BasicEnum<String> {

    /**
     * 全局规则
     */
    GLOBAL("1", "全局规则"),

    /**
     * 部门规则
     */
    DEPARTMENT("2", "部门规则");

    private final String value;
    private final String description;
    
    @Override
    public String getValue() {
        return value;
    }
    
    @Override
    public String description() {
        return description;
    }
} 